package #Package(${basePackage} "entity");

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;


/**
 * <p>
 *    $table.tableComment
 * </p>
 *
 * @author ${author}
 * @date ${date}
 * @remark ${remark}
 */
@Data
@EqualsAndHashCode
@Accessors(chain = true)
@TableName("${table.tableName}")
@ApiModel(value = "${table.tableName}")
public class ${EntityName} implements Serializable{

#foreach($column in ${table.columnInfos})
#if($column.checked)
#if($column.columnComment && $column.columnComment != "")
    /**
     * ${column.columnComment}
     */
    @ApiModelProperty(value = "${column.columnComment}" )
#end
    private ${column.javaFieldType} ${column.javaFieldName};
#end
#end

}
